package co.edu.unal.satacredito.infrastructure.dto;

import java.io.Serializable;
import co.edu.unal.satacredito.database.entity.Administrator;

public class UserDTO implements Serializable {

	private static final long serialVersionUID = 1L;
	
	private String id;
	private String name;
	private String lastName;
	private long document;
	private String user;
	private String password;
	
    public UserDTO() {
	}
    
    public UserDTO(Administrator user) {
		this.id = user.getId().toString();
		this.name = user.getName();
		this.lastName = user.getLastName();
		this.user = user.getUser();
		this.password = user.getPassword();
		this.document = user.getDocument();
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public String getUser() {
		return user;
	}

	public void setUser(String user) {
		this.user = user;
	}

	public long getDocument() {
		return document;
	}

	public void setDocument(long document) {
		this.document = document;
	}
	
	
}
